package com.yunyi.model.announcement.dto;

import com.yunyi.model.announcement.Announcement;
import lombok.Data;

import java.util.List;

/**
 * @ClassName AnnouncementDto
 * @Description 公告信息包装类
 * @Author leizhang
 * Date 2021/8/27 2:45 下午
 * @Version 1.0
 **/
@Data
public class AnnouncementDto {
    /**公告信息列表**/
    private List<Announcement> noticeData;
    /**注意事项**/
    private String noteText;

    public AnnouncementDto() {
    }

    public AnnouncementDto(List<Announcement> noticeData, String noteText) {
        this.noticeData = noticeData;
        this.noteText = noteText;
    }
}
